package asava.trees;

/**
 * @author Tim Richter
 */
public final class Assign extends Tree {
    public Tree lhs;
    public Tree rhs;

    public Assign(final Tree lhs,
                  final Tree rhs) {
        this.lhs = lhs;
        this.rhs = rhs;
    }

    @Override
    public int kind() {
        return TreeKind.ASSIGN;
    }

    @Override
    public void accept(final TreeVisitor visitor) {
        visitor.visit(this);
    }
}
